<template>
	<view class="data-stat"
		:style="{ background: `url(${assetsPath}b06d5082b279372c5e22b6c40432135f7fdca194.png) left top/100% calc(${navBarHeight}px + 280rpx) no-repeat` }">
		<nav-bar title="产品中心" :color="navBarColor" :bg="navBarBg" />

		<view class="address">
			<view class="flex-space-between">
				<view class="flex-align">
					<van-image v-if="itemChooselist.venue_thumb != ''" width="74rpx" height="74rpx" radius="2"
						style="margin-right: 10rpx;" :src="itemChooselist.venue_thumb" />
					<van-image v-else width="74rpx" height="74rpx" radius="10rpx" fit="cover" style="margin-right: 10rpx;" src="https://img.yzcdn.cn/vant/cat.jpeg" />
					<view>
						<view class="address-name">{{itemChooselist.venue_name}}</view>
						<view class="address-desc">地址:{{itemChooselist.address}}</view>
					</view>
				</view>
				<view class="exchange flex-center flex-column " @click="show_no">
					<van-icon name="exchange" size="16" />
					切换
				</view>
			</view>
		</view>

		<view class="" style="margin-top: 50rpx;">
			<u-sticky>
				<u-tabs :list="tabsList_s" lineColor="#FF4040" :activeStyle="{
								color: '#000000'
							}" :inactiveStyle="{
								color: '#353535'
							}" :lineWidth="30" :current="current_Tab" @click="onClickTab" />
			</u-sticky>
		</view>

		<!-- <scroll-view scroll-y="true" class="" style="position: absolute;z-index: 999;top: 300rpx;width: 100vw;height: 80vh;">
	
		</scroll-view> -->
		<view class="box-2">
			<view class="data-list1" v-if="menuActive == 0">
			<!-- 	<u-tabs :list="list1" :activeStyle="{ fontWeight: 700 }" :inactiveStyle="{ color: '#999999' }"
					@click="tabClick"></u-tabs> -->
				<scroll-view scroll-y="true" class="scroll">
					<view class="data-item flex-align" v-for="(item, index) in products1" :key="index">
						<view class="image">
							<u--image :src="item.picture" width="211rpx" height="248rpx" radius="5"></u--image>
						</view>
						<view class="detail">
							<view>
								<view class="title ellipsis-1"><text style="font-size: 30rpx;color: #ffaa00"
										v-if="item.inventory == 0">预约</text><text style="margin-left: 10rpx;">
										{{ item.name }}</text> </view>
								<view class="tag-list flex-align">
									<view class="tag" v-for="(tagItem, tagIndex) in item.venues_project"
										:key="tagIndex">{{ tagItem.name }}</view>
								</view>
								<view v-if="item.is_yxq != 0">
									<view class="info ellipsis-1"
										style="font-size: 26rpx;margin-top: 30rpx;color: #ffaa00;font-weight: bold;"
										v-if="item.is_days == 1">{{item.days}}天</view>
									<view class="info ellipsis-1"
										style="font-size: 26rpx;margin-top: 30rpx;color: #ffaa00;font-weight: bold;"
										v-else>{{item.specify}}</view>
								</view>
							</view>
							<view class="flex-between">
								<price :value="item.selling_price" :color="'#ff4105'"></price>
								<view class="price-2" style="text-decoration: line-through">￥{{ item.lineation }}</view>
								<view style="margin-left:auto;color: #cfcfcf;font-size: 24rpx;"
									v-if="item.volume >= item.sale_num">已售：{{item.volume}}</view>
								<view style="margin-left:auto;color: #cfcfcf;font-size: 24rpx;"
									v-if="item.volume < item.sale_num">已售：{{item.sale_num}}</view>
							</view>
						</view>

					</view>
				</scroll-view>
			</view>
			<!-- 会员办卡 -->
			<view class="data-list2" v-if="menuActive == 1">
				<u-tabs :list="list1" :activeStyle="{ fontWeight: 700 }" :inactiveStyle="{ color: '#999999' }"
					@click="tabClick"></u-tabs>
				<scroll-view scroll-y class="scroll">
					<view class="data-item flex-align" v-for="(item, index) in products" :key="index">
						<view class="image">
							<u--image :src="item.picture" width="289rpx" height="183rpx" radius="5"></u--image>
						</view>

						<view class="detail">
							<view>
								<view class="title ellipsis-1">{{ item.name }}</view>
								<view class="tag-list flex-align">
									<view class="tag" v-for="(tagItem, tagIndex) in item.venues_project"
										:key="tagIndex">{{ tagItem.name }}</view>
								</view>
								<view class="tiemr ellpisis-1"
									style="font-size: 26rpx;margin-top: 20rpx;color: #ffaa00;font-weight: bold;"
									v-show="item.type == 1">{{ item.times }}次 <text v-show="item.gifts != ''">
										+{{ item.gifts }}次</text></view>
								<!-- 金额卡 -->
								<view class="tiemr ellpisis-1"
									style="font-size: 26rpx;margin-top: 20rpx;color: #ffaa00;font-weight: bold;"
									v-show="item.type == 3">{{ item.times }}元<text v-show="item.gifts != ''">
										+{{ item.gifts }}元</text></view>
								<!-- 时间卡 -->
								<view class="tiemr ellpisis-1"
									style="font-size: 26rpx;margin-top: 20rpx;color: #ffaa00;font-weight: bold;"
									v-show="item.type == 2">{{ item.times }}天<text v-show="item.gifts != ''">
										+{{ item.gifts }}天</text></view>
							</view>
							<view class="flex-align">
								<view class="flex-align">
									<price :value="item.selling_price" :color="'#ff4105'"></price>
									<view class="price-2" style="text-decoration: line-through">￥{{ item.lineation }}
									</view>
								</view>
								<view style="margin-left:auto;color: #cfcfcf;font-size: 24rpx;"
									v-if="item.sale_num <= item.volume">销量：{{item.volume}}
								</view>
								<view style="margin-left:auto;color: #cfcfcf;font-size: 24rpx;"
									v-if="item.sale_num > item.volume">销量：{{item.sale_num}}
								</view>
							</view>
						</view>
					</view>
				</scroll-view>
			</view>

			<!-- 场地预约 -->
			<view class="data-list" v-if="menuActive == 2">
				<u-tabs :list="list1" :activeStyle="{ fontWeight: 700 }" :inactiveStyle="{ color: '#999999' }"
					@click="tabClick"></u-tabs>
				<scroll-view scroll-y class="scroll">
					<view @click="cdClick(item)" class="data-item flex-between" style="margin-top: 20rpx;"
						v-for="(item, index) in products" :key="index">
						<view class="flex-align" style="height: 100%">
							<view class="image">
								<image style="width: 156rpx;height: 154rpx;" mode="aspectFill" :src="item.show_img">
								</image>
							</view>

							<view class="detail">
								<view class="title">{{item.court_name}}</view>
								<view>
									<view class="tag-list flex-align" v-if="item.venues_project != ''">
										<!-- <view class="tag" v-for="(im, ix) in item.venues_project" :key="index" >{{im.name}}</view> -->
										<view v-if="item.venues_project[0].name != undefined" class="tag">
											{{item.venues_project[0].name}}
										</view>
										<view v-if="item.venues_project[1].name != undefined" class="tag">
											{{item.venues_project[1].name}}
										</view>
										<view v-if="item.venues_project[2].name != undefined" class="tag">
											{{item.venues_project[2].name}}
										</view>
										<view v-if="item.venues_project[3].name != undefined" class="tag">
											{{item.venues_project[3].name}}
										</view>
									</view>
									<view class="detail-info" v-if="item.dtPrice != ''">￥{{item.min_price}}/起
									</view>
								</view>
							</view>
						</view>

						<view class="btn">去预约</view>
					</view>
				</scroll-view>
			</view>

			<!-- 培训报班 -->
			<view class="data-list5" v-if="menuActive == 3">
				<u-tabs :list="list1" :activeStyle="{ fontWeight: 700 }" :inactiveStyle="{ color: '#999999' }"
					@click="tabClick"></u-tabs>
				<scroll-view scroll-y class="scroll">
					<view class="goods-item flex-align" v-for="(item, index) in products" :key="index">
						<view class="image">
							<u--image width="100%" height="100%" :src="item.cover"></u--image>
							<view class="image-info" v-if="item.sold_num >= item.stock_sales">{{item.sold_num}}人已报名
							</view>
							<view class="image-info" v-else>{{item.stock_sales}}人已报名</view>
							<view class="tag1" v-if="item.train_enum_id == 1">短训</view>
							<view class="tag2" v-if="item.train_enum_id == 2">长训</view>
							<view class="tag3" v-if="item.train_enum_id == 3">小班</view>
						</view>
						<view class="detail">
							<view>
								<view class="title elipsis-1">{{ item.name }}</view>
								<view class="detail-1 flex-align">
									<view class="tag" style="color: #fff;"
										v-for="(items, indexs) in item.venues_project" :key="indexs">{{ items.name }}
									</view>
								</view>
							</view>
							<view class="flex-align">
								<view class="price">￥<text>{{ item.price_selling
		                  }}<text style="font-size: 20rpx">起</text></text></view>
							</view>
						</view>
					</view>
				</scroll-view>
			</view>
			<!-- 私教课程 -->
			<view class="data-list6" v-if="menuActive == 4">
				<u-tabs :list="list1" :activeStyle="{ fontWeight: 700 }" :inactiveStyle="{ color: '#999999' }"></u-tabs>
				<scroll-view scroll-y class="scroll">
					<view @click="openDetail" class="item flex-align" v-for="(item, index) in 10" :key="item">
						<view class="index">{{ index + 1 }}</view>
						<view class="flex-align con">
							<view class="image">
								<u--image width="100%" height="130rpx" src="https://cdn.uviewui.com/uview/album/1.jpg"
									shape="circle"></u--image>
								<image mode="aspectFit" class="small"
									src="https://jiangsudiantuo2022.oss-cn-hangzhou.aliyuncs.com/img/c3d9ec46bec8cd3f02a5c9e0c2020af93119fa33.png">
								</image>
							</view>
							<view class="box">
								<view class="info-1 flex-align">
									<view class="name">王志艳</view>
									<u-tag text="男" borderColor="#e5f0ff" bgColor="#e5f0ff" color="#016DFF" size="mini">
									</u-tag>
									<u-tag text="从业10年" borderColor="#fff4e6" bgColor="#fff4e6" color="#FF8F05"
										size="mini">
									</u-tag>
								</view>
								<view class="info-2 flex-align">
									<uni-rate :size="15" :max="5" :value="4"></uni-rate>
									<view class="tag">游泳</view>
									<view class="tag">健身</view>
								</view>
								<view class="info-3">
									王紫嫣是国内资深的游泳教练，曾获得多次全短时嗲速递阿呆呆
								</view>
								<view class="info-4 flex-align">
									<u-icon :size="14" name="bag-fill"></u-icon>
									<view>点拖体育馆</view>
								</view>
							</view>
						</view>
					</view>
				</scroll-view>
			</view>
			<!-- 商品租售 -->

			<view class="data-list7" v-if="menuActive == 5">
				<scroll-view scroll-x class="goods-tab">
					<view class="tabs" v-for="item in 8" :key="item">
						<image src="https://cdn.uviewui.com/uview/album/1.jpg"></image>
						<view>运动装备</view>
					</view>
				</scroll-view>
				<scroll-view scroll-y class="scroll">
					<view class="goods-list">
						<view class="item" v-for="item in 5" :key="item">
							<view class="image flex-center">
								<image mode="aspectFill" class="top"
									src="https://jiangsudiantuo2022.oss-cn-hangzhou.aliyuncs.com/img/89bf50c1b9aa523e038cb52ba4330d37789d0e60.png">
								</image>
								<image class="img" mode="widthFix" src="https://cdn.uviewui.com/uview/album/1.jpg">
								</image>
								<view class="bottom-text">仅剩1件</view>
							</view>
							<view class="bottom">
								<view class="bootom-title elipsis-1"> 哈他访华瑜伽垫子 </view>
								<view class="flex-align">
									<view class="price">￥128.00</view>
									<view class="price-2">￥128.00</view>
								</view>
							</view>
						</view>
					</view>
				</scroll-view>
			</view>

			<!-- 活动桌位 -->
			<view class="data-list4" v-if="menuActive == 6">
				<u-tabs :list="list1" :activeStyle="{ fontWeight: 700 }" :inactiveStyle="{ color: '#999999' }"></u-tabs>
				<scroll-view scroll-y class="scroll">
					<view class="data-item flex-align">
						<view class="image">
							<view class="tag">个人赛</view>
							<u--image src="https://cdn.uviewui.com/uview/album/1.jpg" width="100%" height="100%">
							</u--image>
						</view>

						<view class="detail">
							<view>
								<view class="title ellipsis-1">雪雁的时代的hi我IHI第啊打完我</view>
								<view class="count-down">
									<u-count-down :time="30 * 60 * 60 * 1000" format="DD:HH:mm:ss" autoStart millisecond
										@change="onChange">
										<view class="time">
											<text>{{ timeData.days }}</text>天
											<text>{{
		                      timeData.hours > 10
		                        ? timeData.hours
		                        : "0" + timeData.hours
		                    }}</text>时 <text>{{ timeData.minutes }}</text>分 <text>{{ timeData.seconds }}</text>秒
										</view>
									</u-count-down>
								</view>
								<view class="det ellipsis-1">报名时间：7月1日-7月16日</view>
							</view>
							<view class="flex-between">
								<view class="price">￥30.00</view>
								<view class="price-2">已售：8张</view>
							</view>
						</view>
					</view>
				</scroll-view>
			</view>

			<!-- 教室预定 -->
			<view class="data-list8" v-if="menuActive == 7">
				<u-tabs :list="list1" :activeStyle="{ fontWeight: 700 }" :inactiveStyle="{ color: '#999999' }"></u-tabs>
				<scroll-view scroll-y class="scroll">
					<view class="data-item flex-between" v-for="item in 5" :key="item">
						<view class="detail">
							<view class="detail-1 elipsis-1">三宫综合排练厅（2楼）</view>
							<view class="flex-align">
								<view class="flex-align detail-2">
									<u-icon name="account-fill" color="#7c642a" size="16"></u-icon>
									<text>2500人容纳</text>
								</view>
								<view class="detail-3">面积698m</view>
							</view>
							<view class="detail-4">
								<view class="tag">照明</view>
								<view class="tag">保洁</view>
							</view>
							<view class="flex-align">
								<view class="detail-5">￥4000</view>
								<view class="detail-6">/8小时</view>
							</view>
						</view>
						<image src="https://cdn.uviewui.com/uview/album/1.jpg"></image>
					</view>
				</scroll-view>
			</view>

			<!-- 赛事报名 -->
			<view class="data-list9" v-if="menuActive == 8">
				<u-tabs :list="list1" :activeStyle="{ fontWeight: 700 }" :inactiveStyle="{ color: '#999999' }"
					@click="tabClick"></u-tabs>
				<scroll-view scroll-y class="scroll">
					<view class="data-item" v-for="(item, index) in products" :key="index">

						<view class="image">
							<u--image :src="item.show_img" radius="7" width="100%" height="220rpx"></u--image>
							<view class="top-tag">自定义</view>
						</view>
						<view class="title"> {{ item.race_name }} </view>
						<view class="count-down flex-between" style="color: rgb(190,190,190);
		font-size: 22rpx;">
							<text>{{ item.subtitle }}</text>
						</view>
					</view>
				</scroll-view>
			</view>

			<view v-if="products.length === 0" style="position: absolute;top: 200rpx; left: 30%;">
				<u-empty mode="list" text="暂无类目,看看其他商品吧~"
					icon="https://jiangsudiantuo2022.oss-cn-hangzhou.aliyuncs.com/img/637257a18b233da5ee6f77e1f4198e5875b9574d.png">
				</u-empty>
			</view>
		</view>


		<van-popup closeable :show="show" round position="bottom" @close="showclose">
			<view class="good-box">
				<view class="title">
					切换场馆
				</view>
				<view class="good-list">
					<view class="good-item" v-for="(item,index) in venuelist" :key="index" @click="onChangelist(item)">
						<view class="flex-align">
							<van-image width="124rpx" height="124rpx" radius="10rpx" fit="cover"
								v-if="item.venue_thumb != ''" :src="item.venue_thumb" />
							<van-image v-else width="124rpx" height="124rpx" radius="10rpx" fit="cover"
								src="https://img.yzcdn.cn/vant/cat.jpeg" />
							<view class="info">
								<view class="name">{{item.venue_name}}</view>
								<view class="flex-align" v-if="item.project_list != ''">
									<view class="tag" v-if="item.project_list[0].name != ''">
										{{item.project_list[0].name}}
									</view>
									<view class="tag" v-if="item.project_list[1].name != '' && item.project_list[1]">
										{{item.project_list[1].name}}
									</view>
									<view class="tag" v-if="item.project_list[2].name != ''&& item.project_list[2]">
										{{item.project_list[2].name}}
									</view>
								</view>
								<view class="address">{{item.address}}</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</van-popup>
	</view>
</template>

<script>
	const personal = require("@/api/personal/index.js");
	import navbar from '@/mixins/navbar.js';
	export default {
		mixins: [navbar({
			navBarColor: '#fff'
		})],
		data() {
			return {
				navBarHeight: 0,
				assetsPath: this.$https.assetsPath,
				show: false,
				// 销售额明细
				tableData: [],
				venuelist: [], //场馆列表
				itemChoose: {}, // 场馆数据
				itemChooselist: {}, // 场馆数据
				showlist: true,
				income: '',
				order_cnt: "",
				sum: "",
				sum1: "",
				sum2: "",
				sum3: "",
				nac: 5,
				tabsList_s: [{
					name: '已上架'
				}, {
					name: '已下架'
				}],
				currentTab: 0,
				products1:[
					{
						actual: 0,
						channel: ",21,",
						days: 0,
						display_end: "2030-11-27",
						display_start: "2023-11-26",
						id: 438,
						inventory: 1,
						is_days: 1,
						is_yxq: null,
						lineation: "0.01",
						name: "测试票",
						picture: "https://jiangsudiantuo2022.oss-cn-hangzhou.aliyuncs.com/82/52f802ad92c0054a4995387ac440a4.png?attname=16413714220871391008.png",
						sale_end: "2030-11-27 00:00:00",
						sale_num: 2,
						sale_start: "2023-11-26 00:00:00",
						selling_price: "0.01",
						specify: "",
						venues: ",21-213,##,100000-213,",
						venues_project: [{id: 68, name: "游泳"}],
						volume: 10,
					}
				],
				menuActive:0
			}
		},
		created() {
			const {
				navBarHeight
			} = getApp().globalData;
			this.navBarHeight = navBarHeight;

		},
		onLoad(options) {
			this.menuActive = options.menuActive
			if (uni.getStorageSync("entry_name") == '') {
				uni.showToast({
					title: '请登录！',
					icon: 'exception',
					duration: 850
				});
				setTimeout(() => {
					uni.navigateTo({
						url: '/pages/my-center/my-center'
					})
				}, 1000);
			}
			var data = uni.getStorageSync("wqzdy");
			var items = JSON.parse(data)
			this.venuelist = items
			this.itemChooselist = this.venuelist[0]
			// this.finance()
		},
		methods: {
			onClickTab({
				index
			}) {
				this.currentTab = index;
			},
			async finance() {
				// uni.showLoading({
				// 	title: "加载中",
				// 	mask: true,
				// });
				let params = {
					venue_id: this.itemChooselist.id,
					sourceTab: this.nac
				};
				let res = await personal.finance(params);
				if (res.code == 1) {
					this.chartData = res.data.chartData //收入趋势
					this.pieChartData = res.data.pieChartData //销售额分析
					this.order_cnt = res.data.incomeInfo.order_cnt //订单号
					this.income = res.data.incomeInfo.income //收入
					this.tableData = res.data.billingList //销售额明细
					this.pieOpts.subtitle.name = res.data.pieChartData.total_income
					this.sum = res.data.billingList.reduce((acc, val) => acc + parseFloat(val.goods_number), 0)
					this.sum1 = res.data.billingList.reduce((acc, val) => acc + parseFloat(val.should_income), 0)
					this.sum2 = res.data.billingList.reduce((acc, val) => acc + parseFloat(val.act_income), 0)
					this.sum3 = res.data.billingList.reduce((acc, val) => acc + parseFloat(val.discount_amount), 0)
					// uni.hideLoading();
				}
			},
			onClick({
				url
			}) {
				uni.navigateTo({
					url
				})
			},
			// 选择场馆
			onChange(e) {
				let that = this
				let i = e.detail
				const item = this.venuelist[i]
				if (item) {
					this.itemChoose = item
					this.venuelist[i].checked = true
				} else {
					this.itemChoose = {}
				}
			},
			onChangelist(item) {
				this.itemChoose = item
				this.itemChooselist = this.itemChoose
				this.show = false
				this.showlist = true
				this.nac = this.nac
				this.dateActive = this.dateActive
				this.finance()
			},
			// 确认按钮
			queren() {
				this.itemChooselist = this.itemChoose
				this.show = false
				this.showlist = true
				this.nac = this.nac
				this.dateActive = this.dateActive
				this.finance()
			},
			dataslist(item) {
				this.chartData = [] //收入趋势
				this.pieChartData = [] //销售额分析
				this.order_cnt = [] //订单号
				this.income = [] //收入
				this.tableData = [] //销售额明细
				this.sum = ''
				this.sum1 = ''
				this.sum2 = ''
				this.sum3 = ''
				this.nac = item.value
				this.dateActive = item.value
				this.finance()
			},
			show_no() {
				this.show = true
				this.showlist = false
			},
			showclose() {
				this.show = false
				this.showlist = true
			}
		},

	}
</script>

<style lang="scss" scoped>
	.data-stat {
		min-height: 100vh;
		padding: 0 36rpx 50rpx;

		.address {
			color: #fff;
			padding-top: 20rpx;
			padding-right: 30rpx;
			height: 70rpx;

			&-name {
				font-size: 32rpx;
				font-weight: 700;
				line-height: 34rpx;
			}

			&-desc {
				margin-top: 18rpx;
				font-size: 22rpx;
				line-height: 22rpx;
			}

			.exchange {
				width: 100rpx;
				height: 100rpx;
				border-radius: 50%;
				background-color: rgba(0, 0, 0, 0.2);
				color: rgb(234, 248, 248);
				font-size: 24rpx;
			}
		}


		.title {
			color: #000;
			font-size: 30rpx;
			font-weight: 700;
			margin-top: 40rpx;
		}

		.classify {
			.box {
				margin-top: 40rpx;
			}
		}

		/deep/ .good-box {
			height: 60vh;
			padding: 0px 30rpx;
			display: flex;
			flex-direction: column;

			.van-radio__label {
				line-height: inherit;
			}

			.good-list {
				flex: 1;
				height: 0;
				overflow: auto;

				.good-item {
					margin-top: 30rpx;

					.info {
						margin-left: 25rpx;

						.name {
							color: rgb(51, 51, 51);
							font-size: 30rpx;
							font-weight: 500;
							margin-bottom: 10rpx;
						}


						.tag {
							color: rgb(4, 179, 90);
							font-size: 24rpx;
							font-weight: 500;
							padding: 0px 10rpx;
							margin-right: 20rpx;
							background-color: rgba(4, 179, 90, 0.2);
							border-radius: 4rpx;

							&:nth-of-type(2) {
								color: rgb(236, 70, 246);
								background-color: rgba(236, 70, 246, 0.2);
							}
						}

						.address {
							margin-top: 10rpx;
							color: rgb(136, 136, 136);
							font-size: 22rpx;
						}
					}

				}
			}

			.footer {
				padding: 20rpx 0;
				background-color: rgb(255, 255, 255);

				.btn {
					color: rgb(255, 255, 255);
					font-size: 30rpx;
					font-weight: 700;
					padding: 20rpx 0;
					text-align: center;
					background-image: linear-gradient(0deg, rgb(99, 93, 247) 0%, rgb(165, 173, 246) 100%);
					border-radius: 60rpx;
				}
			}
		}
		.box-2 {
			// padding: 0px 30rpx;
			padding: 0px 10rpx;
			margin-left: 20rpx;
			flex: 1;
			height: 0;
			display: flex;
			flex-direction: column;
			box-sizing: border-box;
			transform: translateY(-60rpx);
		
			>view {
				flex: 1;
				height: 0;
		
				.scroll {
					// height: calc(100% - 40rpx);
					height: 100%;
				}
			}
		
			// 列表1
			.data-list1 {
				.data-item {
					margin-top: 20rpx;
					height: 288rpx;
					width: 690rpx;
					background-color: #ffffff;
					padding: 10rpx;
					border: 0.1rpx linear-gradient(190deg, #FFF, #FFF) solid;
					border-radius: 6rpx;
					box-shadow: 30px 2px 10px #f9f9f9;
		
					.image {
						padding-left: 10rpx;
						width: 211rpx;
						height: 248rpx;
		
						/deep/ .u-fade-enter-to {
							height: 100%;
						}
					}
		
					.detail {
						height: 230rpx;
						width: 0;
						flex: 1;
						margin-left: 25rpx;
						display: flex;
						flex-direction: column;
						justify-content: space-between;
		
						.title {
							font-size: 30rpx;
							margin-bottom: 10rpx;
							font-weight: bold;
						}
		
						.tag-list {
							margin-bottom: 10rpx;
		
							.tag {
								font-size: 22rpx;
								border-radius: 10rpx;
								padding: 5rpx 10rpx;
								color: white;
								background-color: #abc6fa;
								margin-right: 10rpx;
							}
						}
		
						.tiemr {
							color: #cfcfcf;
							font-size: 22rpx;
						}
		
						.price {
							font-size: 32rpx;
							color: #ff4811;
							font-weight: 700;
							margin-right: 10rpx;
						}
		
						.price-2 {
							color: #cfcfcf;
							font-size: 22rpx;
							text-decoration: line-through;
						}
					}
				}
			}
		
			//列表2
			.data-list2 {
				.data-item {
					// margin-top: 20rpx;
					height: 220rpx;
					padding: 10rpx;
		
					.image {
						width: 289rpx;
						height: 183rpx;
		
						/deep/ .u-fade-enter-to {
							height: 100%;
						}
					}
		
					.detail {
						height: 100%;
						width: 0;
						flex: 1;
						margin-left: 25rpx;
						display: flex;
						flex-direction: column;
						justify-content: space-between;
		
						.title {
							font-size: 28rpx;
							margin-bottom: 10rpx;
						}
		
						.tag-list {
							margin-bottom: 10rpx;
		
							.tag {
								font-size: 22rpx;
								border-radius: 10rpx;
								padding: 5rpx 10rpx;
								color: white;
								background-color: #abc6fa;
								margin-right: 10rpx;
							}
						}
		
						.info {
							font-weight: 700;
							font-size: 25rpx;
							color: #ff4811;
						}
		
						.price {
							font-size: 32rpx;
							color: #ff4811;
							font-weight: 700;
							margin-right: 10rpx;
						}
		
						.price-2 {
							color: #999999;
							font-size: 22rpx;
						}
					}
				}
			}
		
			.data-list {
				.data-item {
					width: 100%;
					height: 160rpx;
					border-bottom: solid 2rpx rgb(229, 229, 229);
					padding-bottom: 20rpx;
					margin-bottom: 20rpx;
		
					// &:last-of-type {
					// 	margin-bottom: 0;
					// 	padding-bottom: 0;
					// }
		
					.image {
						width: 156rpx;
						height: 154rpx;
						border-radius: 5px;
						// overflow: hidden;
		
						image {
							width: 100%;
							height: 100%;
						}
					}
		
					.detail {
						display: flex;
						margin-left: 20rpx;
						height: 100%;
						flex-direction: column;
						justify-content: space-between;
		
						.tag-list {
							margin-bottom: 20rpx;
		
							.tag {
								font-size: 22rpx;
								border-radius: 10rpx;
								padding: 5rpx 10rpx;
								color: white;
								background-color: #abc6fa;
								margin-right: 10rpx;
							}
						}
		
						.detail-info {
							color: rgb(255, 65, 5);
							font-size: 30rpx;
							font-weight: 700;
		
							&:first-of-type {
								margin-bottom: 7rpx;
							}
						}
					}
		
					.btn {
						border-radius: 8px;
						color: white;
						padding: 10rpx 25rpx;
						font-size: 25rpx;
						background-image: linear-gradient(0deg,
								rgb(47, 117, 250) 0%,
								rgb(82, 142, 255) 100%);
					}
				}
			}
		
			.data-list4 {
				.data-item {
					margin-top: 20rpx;
					height: 220rpx;
					padding: 10rpx;
		
					.image {
						width: 300rpx;
						height: 100%;
						position: relative;
		
						.tag {
							color: white;
							background-color: #abc6fa;
							padding: 5rpx 10rpx;
							position: absolute;
							left: 0;
							top: 0;
							z-index: 1;
							font-size: 20rpx;
							border-radius: 0px 0rpx 8rpx 0;
						}
		
						/deep/ .u-fade-enter-to {
							height: 100%;
						}
					}
		
					.detail {
						height: 100%;
						width: 0;
						flex: 1;
						margin-left: 25rpx;
						display: flex;
						flex-direction: column;
						justify-content: space-between;
		
						.title {
							font-size: 28rpx;
							margin-bottom: 10rpx;
						}
		
						.count-down {
							height: 35rpx;
		
							.time {
								font-size: 20rpx;
								display: flex;
		
								text {
									color: #f63939;
									display: block;
									background-color: #fdc4c3;
									border-radius: 8rpx;
									width: 40rpx;
									text-align: center;
									margin: 0px 6rpx;
		
									&:first-of-type {
										margin-left: 0;
									}
								}
							}
						}
		
						.info {
							font-weight: 700;
							font-size: 25rpx;
							color: #ff4811;
						}
		
						.det {
							font-size: 22rpx;
							color: #999999;
						}
		
						.price {
							font-size: 32rpx;
							color: #ff4811;
							font-weight: 700;
							margin-right: 10rpx;
						}
		
						.price-2 {
							color: #999999;
							font-size: 22rpx;
						}
					}
				}
			}
		
			.data-list5 {
				.goods-item {
					height: 220rpx;
					margin-top: 30rpx;
		
					.image {
						width: 200rpx;
						height: 100%;
						border-radius: 7rpx;
						// overflow: hidden;
						position: relative;
		
						/deep/ .u-transition {
							width: 100%;
							height: 100%;
						}
		
						.image-info {
							position: absolute;
							bottom: 0;
							width: 100%;
							left: 0;
							font-size: 24rpx;
							text-align: center;
							color: white;
							padding: 10rpx 0;
							background-color: rgba(0, 0, 0, 0.5);
						}
		
						.tag1 {
							position: absolute;
							top: 0;
							left: 0;
							font-size: 23rpx;
							color: white;
							padding: 7rpx 15rpx;
							border-radius: 0px 0px 15rpx 0px;
							background-image: linear-gradient(to right, #528eff, #2f75fa);
						}
						.tag2 {
							position: absolute;
							top: 0;
							left: 0;
							font-size: 23rpx;
							color: white;
							padding: 7rpx 15rpx;
							border-radius: 0px 0px 15rpx 0px;
							background-image: linear-gradient(to right, #43e090, #26cd78);
						}
						.tag3 {
							position: absolute;
							top: 0;
							left: 0;
							font-size: 23rpx;
							color: white;
							padding: 7rpx 15rpx;
							border-radius: 0px 0px 15rpx 0px;
							background-image: linear-gradient(to right, #ed7af4, #ec46f6);
						}
					}
		
					.detail {
						flex: 1;
						width: 0;
						height: 100%;
						display: flex;
						flex-direction: column;
						margin-left: 30rpx;
						justify-content: space-between;
		
						.title {
							font-size: 28rpx;
							margin-bottom: 10rpx;
							width: 100%;
							white-space: nowrap;
							overflow: hidden;
							text-overflow: ellipsis;
						}
		
						.tag {
							font-size: 22rpx;
							// background-color: #f4f3f4;
							color: white;
							background-color: #abc6fa;
							border-radius: 8rpx;
							padding: 5rpx 10rpx;
							margin-right: 20rpx;
							margin-bottom: 20rpx;
						}
		
						.detail-2 {
							color: #a3a3a3;
							font-size: 23rpx;
		
							image {
								width: 25rpx;
								height: 25rpx;
								margin-right: 10rpx;
							}
						}
		
						.price {
							color: #ff6a42;
		
							text {
								font-weight: 700;
								font-size: 37rpx;
							}
						}
		
						.info {
							color: #a3a3a3;
							font-size: 23rpx;
							margin-left: 15rpx;
							transform: translateY(4rpx);
						}
					}
				}
			}
		
			.data-list6 {
				.item {
					width: 100%;
					padding-bottom: 24rpx;
					border-bottom: 1px solid #e5e5e5;
					margin-top: 31rpx;
		
					&:nth-of-type(1) {
						.index {
							color: #ffa800;
						}
					}
		
					&:nth-of-type(2) {
						.index {
							color: #c0c0c0;
						}
					}
		
					&:nth-of-type(3) {
						.index {
							color: #b2786b;
						}
					}
		
					&:last-of-type {
						border: none;
					}
		
					.index {
						font-size: 36rpx;
						font-family: DIN;
						font-weight: bold;
						color: #95a0af;
						margin-right: 40rpx;
					}
		
					.con {
						height: 100%;
						flex: 1;
						display: flex;
					}
		
					.image {
						width: 130rpx;
						height: 100%;
						margin-right: 24rpx;
						position: relative;
		
						.small {
							width: 100%;
							height: 80rpx;
							position: absolute;
							bottom: -20rpx;
							left: 0;
						}
					}
		
					.box {
						flex: 1;
						width: 0;
		
						.info-1 {
							margin-bottom: 10rpx;
		
							.name {
								font-size: 28rpx;
								font-weight: bold;
								color: #333333;
							}
		
							/deep/ .u-tag {
								height: 40rpx;
								margin-left: 20rpx;
		
								.u-tag__text {
									font-size: 20rpx;
								}
							}
						}
		
						.info-2 {
							margin-bottom: 10rpx;
		
							.tag {
								font-size: 22rpx;
								font-weight: 400;
								color: #ff8f05;
								margin-left: 20rpx;
							}
						}
		
						.info-3 {
							font-size: 22rpx;
							font-weight: 400;
							color: #999999;
							white-space: nowrap;
							overflow: hidden;
							width: 100%;
							text-overflow: ellipsis;
						}
		
						.info-4 {
							font-size: 22rpx;
							font-weight: 500;
							color: #333333;
						}
					}
				}
			}
		
			.data-list7 {
				.goods-tab {
					white-space: nowrap;
		
					.tabs {
						display: inline-block;
						margin-right: 20rpx;
		
						image {
							height: 90rpx;
							width: 90rpx;
						}
		
						view {
							font-size: 20rpx;
							font-weight: 500;
							color: #333333;
							margin-top: 10rpx;
							text-align: center;
						}
					}
				}
		
				.goods-list {
					display: flex;
					flex-wrap: wrap;
					margin-top: 30rpx;
					justify-content: space-between;
		
					.item {
						border: 0px solid #e5e5e5;
						width: 48%;
						margin-bottom: 30rpx;
		
						.image {
							width: 100%;
							position: relative;
							background: #f3f3f3;
							border-radius: 5px 5px 0px 0px;
							height: 300rpx;
		
							.img {
								width: 80%;
							}
		
							.top {
								position: absolute;
								left: 0;
								top: -20rpx;
								width: 60rpx;
								height: 68rpx;
							}
		
							.bottom-text {
								position: absolute;
								right: 20rpx;
								bottom: 10rpx;
								font-size: 22rpx;
								z-index: 3;
								color: #bebebe;
							}
						}
		
						.bottom {
							border: 1px solid #e5e5e5;
							border-top: none;
							border-radius: 0 0 5px 5px;
							padding: 20rpx;
		
							.bootom-title {
								font-size: 26rpx;
								font-weight: bold;
								color: #333333;
								margin-bottom: 20rpx;
							}
		
							.price {
								font-size: 26rpx;
								font-weight: bold;
								color: #ff0f0f;
							}
		
							.price-2 {
								font-size: 22rpx;
								font-weight: bold;
								margin-left: 6rpx;
								text-decoration: line-through;
								color: #bebebe;
							}
						}
					}
				}
			}
		
			.data-list8 {
				.data-item {
					border-bottom: 1px solid #f2f2f3;
					padding-bottom: 30rpx;
					margin-bottom: 30rpx;
		
					&:last-of-type {
						margin-bottom: 0;
						border-bottom: 0;
					}
		
					.detail {
						flex: 1;
						width: 0;
						padding-right: 40rpx;
		
						.detail-1 {
							font-size: 28rpx;
							font-weight: 700;
							margin-bottom: 15rpx;
						}
		
						.detail-2 {
							font-size: 22rpx;
							color: #7c642a;
							padding: 5rpx 10rpx;
							border-radius: 8rpx;
							background-color: #eedd9b;
		
							text {
								margin-left: 10rpx;
							}
						}
		
						.detail-3 {
							margin-left: 20rpx;
							font-size: 22rpx;
							color: #d2d2d2;
						}
		
						.detail-4 {
							margin-top: 20rpx;
							margin-bottom: 30rpx;
							display: flex;
		
							.tag {
								color: #ff4747;
								font-size: 22rpx;
								margin-right: 8rpx;
								border-radius: 8rpx;
								padding: 5rpx;
								border: 1px solid #ff4747;
							}
						}
		
						.detail-5 {
							font-size: 33rpx;
							color: #ff1616;
							font-weight: 700;
						}
		
						.detail-6 {
							font-size: 20rpx;
							margin-left: 5rpx;
						}
					}
		
					image {
						width: 240rpx;
						height: 240rpx;
						border-radius: 10px;
					}
				}
			}
		
			.data-list9 {
				margin-top: 20rpx;
		
				.data-item {
					margin-bottom: 30rpx;
					margin-top: 20rpx;
		
					.image {
						position: relative;
		
						.top-tag {
							position: absolute;
							top: 0;
							left: 0;
							border-radius: 5px 0px 0 0;
							color: white;
							background-color: #abc6fa;
							font-size: 22rpx;
							padding: 5rpx 10rpx;
						}
					}
		
					.title {
						font-size: 30rpx;
						margin-top: 10rpx;
						// margin-bottom: 10rpx;
					}
		
					.count-down {
						height: 35rpx;
		
						.time {
							font-size: 20rpx;
							display: flex;
		
							text {
								color: #f63939;
								display: block;
								background-color: #fdc4c3;
								border-radius: 8rpx;
								width: 40rpx;
								text-align: center;
								margin: 0px 6rpx;
		
								&:first-of-type {
									margin-left: 0;
								}
							}
						}
		
						.price {
							font-size: 22rpx;
							color: #ff571c;
		
							text {
								font-size: 35rpx;
								font-weight: 700;
							}
						}
					}
				}
			}
		}
	}
</style>